package com.yc.cloud.openai.portal.dto.request;

import com.yc.cloud.openai.portal.enums.ModelProvider;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
@Schema
public class TextToModelRequest {

    @Schema(description = "客户端ID", example = "37dfd6f6b0784d6d8f9526d94e8cc4dc")
    private String clientId;


    @Schema(description = "提供者", example = "1", defaultValue = "1", hidden = true, allowableValues = { "1", "2" })
    @NotNull(message = "提供者不能为空")
    private ModelProvider provider = ModelProvider.COMFY_UI;

    @Schema(description = "文本内容", example = "你好,欢迎使用openai开放平台的文本转3D模型服务")
    @NotEmpty(message = "文本内容不能为空")
    private String prompt;

}
